package ld.oauth.blog.model.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class SysUserBo {

    @ApiModelProperty("用户 ID")
    private Long id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("密码，加密存储, admin/1234")
    private String password;

    @ApiModelProperty("帐户是否过期(1 未过期，0已过期)")
    private Boolean isAccountNonExpired;

    @ApiModelProperty("帐户是否被锁定(1 未过期，0已过期)")
    private Boolean isAccountNonLocked;

    @ApiModelProperty("密码是否过期(1 未过期，0已过期)")
    private Boolean isCredentialsNonExpired;

    @ApiModelProperty("帐户是否可用(1 可用，0 删除用户)")
    private Boolean isEnabled;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("注册手机号")
    private String mobile;

    @ApiModelProperty("注册邮箱")
    private String email;


}
